import React from 'react';
import ReactDOM from 'react-dom';
import { Provider } from 'react-redux';
import { BrowserRouter } from 'react-router-dom';

import store from './store/store';
import App from './componentsUI/Greeting';


ReactDOM.render(
    <Provider store={ store }>
        <BrowserRouter>
            <App name="Jack" />
        </BrowserRouter>
    </Provider>,
    document.getElementById('root')
);